package com.yunji.aggregate.model.vo.container;

import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CabinetTemplateCellVO {
    @Excel(name = "上架状态", readConverterExp = "0=下架,1=上架", width = 15)
    @ApiModelProperty("上架状态：0-&gt;下架;1-&gt;上架")
    private Long publishStatus;

    @ApiModelProperty("sku")
    private String sku;

    @Excel(name = "商品类型", width = 15)
    @ApiModelProperty("商品类型")
    private Integer productType;

    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品描述")
    private String subTitle;

    @Excel(name = "销售价", width = 15)
    @ApiModelProperty("销售价")
    private BigDecimal price;

    @Excel(name = "成本价", width = 15)
    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @Excel(name = "折扣价", width = 15)
    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @Excel(name = "最高折扣价", width = 15)
    @ApiModelProperty("最高折扣价")
    private BigDecimal maxDiscountPrice;

    @Excel(name = "最小折扣价", width = 15)
    @ApiModelProperty("最小折扣价")
    private BigDecimal minDiscountPrice;

    @ApiModelProperty("授权状态")
    private Integer paStatus = 1;

    @Excel(name = "单位（数量）")
    @ApiModelProperty("单位（数量）")
    private Integer unitAmount;

    @ApiModelProperty("授权类型（0-指定代理商 1-全部授权）")
    private Integer grantType;

    @ApiModelProperty("关键词")
    private String keywords;

    @Excel(name = "备注", width = 15)
    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("画册图片，连产品图片限制为5张，以逗号分割")
    private String albumPics;

    @ApiModelProperty("商品详情网页内容")
    private String detailHtml;

    @ApiModelProperty("重要属性")
    private String importantAttributes;

    @ApiModelProperty("其他属性")
    private String otherAttributes;

    @ApiModelProperty("单位ID")
    private Long unitId;

    @ApiModelProperty("品牌ID")
    private Long brandId;

    @Excel(name = "排序", width = 15)
    @ApiModelProperty("排序")
    private Long sort;

    @ApiModelProperty("删除状态 0-未删除 1-已删除")
    @Excel(name = "删除状态 0-未删除 1-已删除")
    private Integer delFlag;

    @Excel(name = "模板ID")
    @ApiModelProperty("模板ID")
    private Long templateId;

    @Excel(name = "商品ID")
    @ApiModelProperty(value = "商品ID", required = true)
    private Long productId;

    @Excel(name = "商品序号")
    @ApiModelProperty(value = "商品序号", required = true)
    private Integer ordinal;

    @Excel(name = "商品状态")
    @ApiModelProperty("商品状态")
    private Integer status;

    @Excel(name = "格子ID")
    @ApiModelProperty("格子ID")
    private Long cellId;

    @ApiModelProperty("容量上限")
    private Integer ceilingQuantity;
}
